package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.WmsHttpServerMapper;
import com.ruoyi.system.domain.WmsHttpServer;
import com.ruoyi.system.service.IWmsHttpServerService;

/**
 * HTTP服务端参数Service业务层处理
 * 
 * @author ZYT
 * @date 2020-08-29
 */
@Service
public class WmsHttpServerServiceImpl implements IWmsHttpServerService 
{
    @Autowired
    private WmsHttpServerMapper wmsHttpServerMapper;

    /**
     * 查询HTTP服务端参数
     * 
     * @param id HTTP服务端参数ID
     * @return HTTP服务端参数
     */
    @Override
    public WmsHttpServer selectWmsHttpServerById(Long id)
    {
        return wmsHttpServerMapper.selectWmsHttpServerById(id);
    }

    /**
     * 查询HTTP服务端参数列表
     * 
     * @param wmsHttpServer HTTP服务端参数
     * @return HTTP服务端参数
     */
    @Override
    public List<WmsHttpServer> selectWmsHttpServerList(WmsHttpServer wmsHttpServer)
    {
        return wmsHttpServerMapper.selectWmsHttpServerList(wmsHttpServer);
    }

    /**
     * 新增HTTP服务端参数
     * 
     * @param wmsHttpServer HTTP服务端参数
     * @return 结果
     */
    @Override
    public int insertWmsHttpServer(WmsHttpServer wmsHttpServer)
    {
        return wmsHttpServerMapper.insertWmsHttpServer(wmsHttpServer);
    }

    /**
     * 修改HTTP服务端参数
     * 
     * @param wmsHttpServer HTTP服务端参数
     * @return 结果
     */
    @Override
    public int updateWmsHttpServer(WmsHttpServer wmsHttpServer)
    {
        return wmsHttpServerMapper.updateWmsHttpServer(wmsHttpServer);
    }

    /**
     * 批量删除HTTP服务端参数
     * 
     * @param ids 需要删除的HTTP服务端参数ID
     * @return 结果
     */
    @Override
    public int deleteWmsHttpServerByIds(Long[] ids)
    {
        return wmsHttpServerMapper.deleteWmsHttpServerByIds(ids);
    }

    /**
     * 删除HTTP服务端参数信息
     * 
     * @param id HTTP服务端参数ID
     * @return 结果
     */
    @Override
    public int deleteWmsHttpServerById(Long id)
    {
        return wmsHttpServerMapper.deleteWmsHttpServerById(id);
    }
}
